home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-08-24 | 1.8 KB | 70 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="3"
- "UIPATH"="Appearance\Start menu\Options"
- "NAME"="Display Options"
- "VERSION"="1.15"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Show context menu for "Start" button,Taskbar and Tray"
- "TEXT 2"="Show context menu (right-click) in Start->Programs"
- "TEXT 3"="Show Start->Programs using multiple columns"
- "DESCRIPTION 1"="If an item is disabled (not checked), Windows will either not display it or does not allow that changes are made."
- "DESCRIPTION 2"=""
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
- "COMMENT 2"="Setting #3 from Tom Simpson [thomas@mail.xenafan.com] - thanks a lot!"
-
-
-
- sP="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\"
- sV1="NoTrayContextMenu"
- sV2="NoChangeStartMenu"
- sPV3="HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\StartMenuScrollPrograms" 'STR: false/true
- SUB Plugin_Initialize
-
- i=RegReadValue(sp&sV1)
- If IsEmpty(i) or i=0 then SetUIElement 1,true
-
- i=RegReadValue(sp&sV2)
- if IsEmpty(i) or i=0 then SetUIElement 2,true
-
- i=RegReadValue(sPV3)
- if i="false" then SetUIElement 3,true
-
- END SUB
-
- SUB Plugin_CheckData(ElementIndex)
- END SUB
-
- SUB Plugin_Apply(ElementIndex,ElementSubIndex)
-
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sp&sV1,0,2)
- else
- Call RegWriteValue(sp&sV1,1,2)
- end if
-
- b=GetUIElement(2)
- if b=true then
- Call RegWriteValue(sp&sV2,0,2)
- else
- Call RegWriteValue(sp&sV2,1,2)
- end if
-
- b=GetUIElement(3)
- if b=true then
- Call RegWriteValue(sPV3,"false",1)
- else
- Call RegWriteValue(sPV3,"true",1)
- end if
-
-
- Call Logoff
-
- END SUB
-
- SUB Plugin_Terminate
- END SUB
-